package cn.broadsense.biz.convert;

import cn.broadsense.biz.bo.LayerAreaBo;
import cn.broadsense.biz.domain.LayerArea;
import cn.broadsense.biz.dto.LayerAreaDto;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author: pengxin
 * @create: 2024-09-10 12:08
 * @Version 1.0
 **/
@Mapper(componentModel = "spring")
public interface LayerConvert {

    LayerAreaDto toLayerAreaDto(LayerArea layerArea);

    List<LayerAreaDto> toListLayerAreaDto(List<LayerArea> list);

    LayerArea areaBoToLayerArea(LayerAreaBo layerAreaBo);
}
